package com.hc.fdkgoods.controller;

import com.hc.fdkgoods.common.Result;
import com.hc.fdkgoods.service.ForwarderSummaryService;
import com.hc.fdkgoods.vo.ForwarderSummaryVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ForwarderPushedSummaryController {
    @Resource
    private ForwarderSummaryService forwarderSummaryService;

    @GetMapping("/forwarder/pushed/summary")
    public Result<ForwarderSummaryVO> pushedGoodsSummary(){
        return Result.ok(forwarderSummaryService.pushedGoodsSummary());
    }
}
